/**
 * Copyright:Copyright(c)2014-2015
 * Company:厦门市易致达物联网科技有限公司
 * @version 1.0
 */
package shop.services.front.voucher.impl;

import shop.core.ServicesManager;
import shop.services.front.voucher.VoucherService;
import shop.services.front.voucher.bean.Voucher;
import shop.services.front.voucher.dao.VoucherDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


/**   
 * @类名称：VoucherServiceImpl      
 * @创建人：wzl
 * @创建时间：2018-01-03 下午16:55:48        
 * @版本号：1.0
 * @描述：     
 */
@Service("voucherServiceFront")
public class VoucherServiceImpl extends ServicesManager<Voucher, VoucherDao> implements
VoucherService {
    @Resource(name = "voucherDaoFront")
    @Override
    public void setDao(VoucherDao voucherDao) {
    this.dao = voucherDao;
    }

    @Override
    public List<Voucher> selectVoucherList(Voucher voucher) {
        return dao.selectVoucherList(voucher);
    }
}

